.fgGame {
  background: #202531;
  box-shadow: 0 2px 10px 0 rgba(175, 184, 196, 0.30);
  height: 432px;
  margin-top: 30px;
  .fgGameRight {
    width: 366px;
    background: url("../../../assets/images/home/fgGameBg.png") center no-repeat;
    background-size: auto 100%;
  }
}

.fgGameLeft {
  flex: 2.8;
  padding: 20px 0 20px 16px;
  .fgGameTitle {
    p {
      font-size: 18px;
      color: #FFFFFF;
      line-height: 20px;
      vertical-align: text-bottom;
      span {
        font-size: 12px;
        display: inline-block;
        font-family: Arial;
        margin-left: 10px;
      }
      &:last-child {
        font-size: 12px;
      }
    }
  }
  .fgGameCon {
    margin-top: 16px;
    .fgGameNav {
      flex: 1.2;
      .fgGameNavItem {
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 12.02px;
        color: #FFFFFF;
        margin-bottom: 22px;
        background: #252C39;
        cursor: pointer;
        &:last-child {
          margin-bottom: 0;
        }
        &.on {
          background: #D43B3B;
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.50);
        }
      }
    }
    .fgGamelist {
      flex: 6;
      margin-left: 14px;
      .fgGamelistItem {
        width: 16%;
        height: 48%;
        background: #1D1E25;
        border: 1px solid transparent;
        margin-left: 5%;
        margin-top:1.7%;
        cursor: pointer;
        img {
          height: 126px;
          width: auto;
          display: block;
        }
        p {
          height: 25%;
          line-height: 32px;
          text-align: center;
          color: #fff;
          background: #1D1E25;
        }
        &:hover{
          position: relative;
          &::after{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            content: '开始游戏';
            width:60%;
            height: 30px;
            line-height:30px;
            color: #fff;
            background: #D43B3B;
            padding:0 8px;
            border-radius: 4px;
            z-index: 2;
          }
          &::before{
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            content: '';
            background: rgba(0,0,0,.5);
          }
        }
        &:nth-child(1),&:nth-child(2),&:nth-child(3),&:nth-child(4),&:nth-child(5){
          margin-top: 0;
        }
        &:nth-child(5n+1) {
          margin-left: 0;
        }
      }
    }
  }
}